<template>
  <div>
    <Button size="small" @click="onClick" @focus="onClick" @mouseover="onClick">我是button1</Button>
  </div>
</template>
<script lang="ts">
import Button from "../lib/Button.vue"
export default {
  components:{Button},
  setup(){
    const onClick = ()=>{
      console.log("click event");
    }
    return {onClick};
  }
}
</script>